package com.test.example.controller.xss;

import com.xingluo.tools.xss.anno.SerializeMode;
import com.xingluo.tools.xss.anno.Xss;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    @Xss
    public String username;

    @Xss(mode=SerializeMode.ESCAPE)
    public String info;

}
